package com.zm.service;

import com.zm.bean.TestDoorRecordBean;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Optional;

public interface CabTestDoorRecordService {


    Optional<TestDoorRecordBean> findById(Long aLong);

    Page<TestDoorRecordBean> findAll(Pageable pageable);

    Page<TestDoorRecordBean> findAllByCabinetId(String iterable, Pageable pageable);

    TestDoorRecordBean save(TestDoorRecordBean mTestDoorRecordBean);

    List<TestDoorRecordBean> saveAll(List<TestDoorRecordBean> mList);
}
